package com.mmall.pojo;

import java.util.Date;

public class Address {
    private Integer id;

    private Integer userId;

    private String province;

    private String city;

    private String area;

    private String detailedAddress;

    private String postcodes;

    private String receivePerson;

    private String receivePhone;

    private String mmallAddressExtend1;

    private Integer defaultAddress;

    private Date createTime;

    private Date updateTime;

    public Address(Integer id, Integer userId, String province, String city, String area, String detailedAddress, String postcodes, String receivePerson, String receivePhone, String mmallAddressExtend1, Integer defaultAddress, Date createTime, Date updateTime) {
        this.id = id;
        this.userId = userId;
        this.province = province;
        this.city = city;
        this.area = area;
        this.detailedAddress = detailedAddress;
        this.postcodes = postcodes;
        this.receivePerson = receivePerson;
        this.receivePhone = receivePhone;
        this.mmallAddressExtend1 = mmallAddressExtend1;
        this.defaultAddress = defaultAddress;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Address() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress == null ? null : detailedAddress.trim();
    }

    public String getPostcodes() {
        return postcodes;
    }

    public void setPostcodes(String postcodes) {
        this.postcodes = postcodes == null ? null : postcodes.trim();
    }

    public String getReceivePerson() {
        return receivePerson;
    }

    public void setReceivePerson(String receivePerson) {
        this.receivePerson = receivePerson == null ? null : receivePerson.trim();
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone == null ? null : receivePhone.trim();
    }

    public String getMmallAddressExtend1() {
        return mmallAddressExtend1;
    }

    public void setMmallAddressExtend1(String mmallAddressExtend1) {
        this.mmallAddressExtend1 = mmallAddressExtend1 == null ? null : mmallAddressExtend1.trim();
    }

    public Integer getDefaultAddress() {
        return defaultAddress;
    }

    public void setDefaultAddress(Integer defaultAddress) {
        this.defaultAddress = defaultAddress;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}